<?php
$p=trim($_GET['p']);  
/*导航菜单*/
$leftMenuArr=array(   //$key为p值
	'1'=>array(
		'0'=>'产品管理',
		'1'=>array('product/product_list.php','产品列表'),
		'2'=>array('product/product_add.php','添加产品'),
		'3'=>array('product/product_class.php','产品类别'),
		'4'=>array('product/shuxing_class.php','产品属性'),
		'5'=>array('product/shuxing_defined_list.php','自定义属性'),
	),
	'2'=>array(
		'0'=>'文章管理',
		'1'=>array('article/article_list.php','文章列表'),
		'2'=>array('article/article_add.php','添加文章'),
		'3'=>array('article/article_class.php','文章类别'),
		'4'=>array('manage/mark.php?type=article','文章属性'),
		'5'=>array('article/single_article_list.php','单页文档'),
	),
	
   '3'=>array(
		'0'=>'系统管理',
		'1'=>array('manage/webmessage.php','网站信息'),
		'2'=>array('manage/updatepassword.php','修改密码'),
		'3'=>array('loginout.php','退出后台'),
	),
	'4'=>array(
		'0'=>'用户管理',
		'1'=>array('member/member_list.php','用户列表'),
		'2'=>array('member/member_add.php','添加用户'),
	),
	'5'=>array(
		'0'=>'权限管理',
		'1'=>array('power/power_class.php','权限分组'),
		'2'=>array('power/powercontent_class.php','权限设置'),
		'3'=>array('power/identity_class.php','身份级别'),
		'4'=>array('power/menu_class.php','后台菜单'),
	),
	 '6'=>array(
		'0'=>'空间管理',
		'1'=>array('manage/mail_info.php','邮件设置'),
		'2'=>array('manage/backup.php','备份还原'),
		'3'=>array('manage/sql.php','SQL运行'),
		'4'=>array('manage/server_info.php','服务器信息'),
		
	),
	
	'7'=>array(
		'0'=>'留言管理',
		'1'=>array('meseage/meseage_list.php?isshow=1','留言列表'),
	),
	
	'8'=>array(
		'0'=>'联系信息',
		'1'=>array('manage/contact_info.php','联系信息'),
	),
	
	'9'=>array(
		'0'=>'广告管理',
		'1'=>array('manage/img_content.php?type=indeximg','广告管理'),
		'2'=>array('manage/file.php','附件管理'),	
	),
	'11'=>array(
		'0'=>'友情链接',
		'1'=>array('manage/link_content.php','友情链接'),	
	),
	'10'=>array(
		'0'=>'快捷操作',
		'1'=>array('main.php','后台管理'),
		'2'=>array('article/article_add.php','添加文章'),
		'3'=>array('manage/webmessage.php','网站信息'),
		'4'=>array('manage/img_content.php?type=indeximg','广告管理'),	
	),
	
);
?>
	
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<style type="text/css">
*{ margin:0; padding:0;}
A:link {COLOR: #000000; FONT-SIZE: 9pt; TEXT-DECORATION: none; font-family}
A:visited {COLOR: #000000; FONT-SIZE: 9pt; TEXT-DECORATION: none}
A:active {COLOR: #000000; FONT-SIZE: 9pt; TEXT-DECORATION: underline}
A:hover {COLOR: #ff8903; FONT-SIZE: 9pt; TEXT-DECORATION: underline}
BODY {COLOR: #000000; FONT-FAMILY:  "Arial", "微软雅黑", 'Times New Roman'; FONT-SIZE: 9pt; LINE-HEIGHT: 150%; TEXT-DECORATION: none}
.leftlink{CURSOR: hand;width: 171px;height: 26px;line-height: 26px;float: left;text-align: left;list-style-type: none;padding-left: 12px;FONT-SIZE: 10pt;}

</style>
</head>
<body style="background:#fff">
<table width="171" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#F1F1F1">
	  <tr>
        <td height="25" align="center" background="images/head_bg.gif">&nbsp;</td>
      </tr>   
     <tr>
        <td background="images/links_bg_open.gif" class="leftlink"><?php echo $leftMenuArr[$p][0]?></td>
      </tr>
      <tr>
        <td bgcolor="#CCCCCC"><img src="images/dot_grey2.gif" width="1" height="1" /></td>
      </tr>
      <tr>
        <td bgcolor="FEFEFE">
            <table width="100%" border="0" align="center" cellpadding="1" cellspacing="1">
          	  <tr>
           		 <td colspan="2" height="5"></td>
              </tr>
              <?php foreach($leftMenuArr[$p] as $key=>$val){
					if($key>=1){
			  ?>
              <tr>
                <td width="15%" align="right"><img width="11" height="11" src="images/links_arrow.gif"></td>
                <td class="leftbotx" width="85%"><a href="<?php echo $val[0]?>" target="right"><?php echo $val[1]?></a></td>
              </tr>	
               <?php 
				 	}
				}?>		
	
          	  <tr>
           			<td colspan="2" height="5"></td>
              </tr>
        </table></td>
      </tr> 
      <tr>
        <td bgcolor="#CCCCCC"><img src="images/dot_grey2.gif" width="1" height="1" /></td>
      </tr>    	
</table>
</body>
</html>